package task12;

public class Test_Driver {
    public static void main(String[] args) {
        Driver driver=new Driver();
        BMW bmw=new BMW();
        QQ  qq=new QQ();
        BenZ benZ=new BenZ();
        driver.run(bmw);
        driver.run(qq);
        driver.run(benZ);

        Car audi=new Audi();
        driver.run(audi);



        Car c2=new BMW();

    }

}
